package com.tx.spirnglcoud.mercuryclient.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ：tx
 * @description：调用远程接口类
 * @date ：Created in 2019/5/16 14:31
 * @modified By：
 * @version:
 */
@FeignClient(name = "blog",fallback = UserFallBack.class)
public interface IUserService {
    @RequestMapping("/inter/getUsers")
    String getUsers();
}
